import axios from "axios";

const request = axios.create({
  baseURL: "https://restapi.amap.com/v3/direction",
  timeout: 10000,
});

// request.interceptors.request.use((config)=>{

// })

request.interceptors.response.use((response) => {
  return response.data;
});

export default request;
